﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Smartec.Accounts.Camel.AMS.Model.Entities.Banner>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Details</h2>

<fieldset>
    <legend>Banner</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Name) %>
    </div>

    <div class="display-label">URL</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.URL) %>
    </div>

    <div class="display-label">Image</div>
    <div class="display-field">
  
     <img  id="image" src='<%:Model.ImageUrl%>' width="100" height="100"/>

    </div>

    <div class="display-label">DisplayOrder</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.DisplayOrder) %>
    </div>

   
</fieldset>
<p>

    <%: Html.ActionLink("Edit", "Edit", new { id=Model.ID }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
